//
//  UIImageView+WebImage.h
//  YppSpecificationImage
//
//  Created by 胡润辰 on 2019/1/31.
//

#import "YYWebImageOperation.h"
#import <UIKit/UIKit.h>
#import "YppSpecificationImage.h"

@interface UIImageView (WebImage)

- (void)webImageWithURL:(NSURL *)url
              imageSize:(CGSize)size
            placeHolder:(UIImage *)placeholder;

- (void)webImageWithURL:(NSURL *)url
              imageSize:(CGSize)size
            placeHolder:(UIImage *)placeholder
               priority:(NSOperationQueuePriority)priority;

- (void)webImageWithURL:(NSURL *)url
              imageSize:(CGSize)size
            placeHolder:(UIImage *)placeholder
                options:(YppWebImageOptions)options;

- (void)webImageWithURL:(NSURL *)url
              imageSize:(CGSize)size
            placeHolder:(UIImage *)placeholder
                options:(YppWebImageOptions)options
               priority:(NSOperationQueuePriority)priority;

- (void)webImageWithURL:(NSURL *)url
              imageSize:(CGSize)size
            placeholder:(UIImage *)placeholder
                options:(YppWebImageOptions)options
               progress:(YYWebImageProgressBlock)progress
              transform:(YYWebImageTransformBlock)transform
             completion:(YYWebImageCompletionBlock)completion;

- (void)webImageWithURL:(NSURL *)url
              imageSize:(CGSize)size
            placeholder:(UIImage *)placeholder
               priority:(NSOperationQueuePriority)priority
                options:(YppWebImageOptions)options
               progress:(YYWebImageProgressBlock)progress
              transform:(YYWebImageTransformBlock)transform
             completion:(YYWebImageCompletionBlock)completion;



@end
